﻿using System;

namespace HumanManagement.BusinessObjects
{
	public class Document
	{
		#region ***** Fields & Properties ***** 
		private int _ID;
		public int ID
		{ 
			get 
			{ 
				return _ID;
			}
			set 
			{ 
				_ID = value;
			}
		}
		private int _PersonalProfileID;
		public int PersonalProfileID
		{ 
			get 
			{ 
				return _PersonalProfileID;
			}
			set 
			{ 
				_PersonalProfileID = value;
			}
		}
		private int _StoreID;
		public int StoreID
		{ 
			get 
			{ 
				return _StoreID;
			}
			set 
			{ 
				_StoreID = value;
			}
		}
		private DateTime _LastDate;
		public DateTime LastDate
		{ 
			get 
			{ 
				return _LastDate;
			}
			set 
			{ 
				_LastDate = value;
			}
		}
		private int _LastMakerID;
		public int LastMakerID
		{ 
			get 
			{ 
				return _LastMakerID;
			}
			set 
			{ 
				_LastMakerID = value;
			}
		}
		private int _LastApproverID;
		public int LastApproverID
		{ 
			get 
			{ 
				return _LastApproverID;
			}
			set 
			{ 
				_LastApproverID = value;
			}
		}
		private string _DocumentStatus;
		public string DocumentStatus
		{ 
			get 
			{ 
				return _DocumentStatus;
			}
			set 
			{ 
				_DocumentStatus = value;
			}
		}
		#endregion

		#region ***** Init Methods ***** 
		public Document()
		{
		}
		public Document(int id)
		{
			this.ID = id;
		}
		public Document(int id, int personalprofileid, int storeid, DateTime lastdate, int lastmakerid, int lastapproverid, string documentstatus)
		{
			this.ID = id;
			this.PersonalProfileID = personalprofileid;
			this.StoreID = storeid;
			this.LastDate = lastdate;
			this.LastMakerID = lastmakerid;
			this.LastApproverID = lastapproverid;
			this.DocumentStatus = documentstatus;
		}
		#endregion
	}
}
